﻿<UserControl x:Class="Helper.InfoControl"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d"
		d:DesignHeight="300" d:DesignWidth="300" x:Name="root" Foreground="WhiteSmoke"
		TextBlock.FontFamily="Segoe UI">

	<Grid Background="#B0ffffff" DataContext="{Binding ElementName=root}">
		<Grid Background="Transparent">
			<Grid.BitmapEffect>
				<DropShadowBitmapEffect Color="Black" />
			</Grid.BitmapEffect>
			<Border Margin="30" BorderBrush="WhiteSmoke" BorderThickness="1.5" CornerRadius="10"
					Background="Black" HorizontalAlignment="Center" VerticalAlignment="Center">
				<DockPanel>
					<TextBlock Text="About this sample" Margin="20" FontSize="30"
							DockPanel.Dock="Top" />
					<Button Content="Close" DockPanel.Dock="Bottom" HorizontalAlignment="Center"
							Click="Button_Click" Margin="20" IsDefault="True" IsCancel="True" />
					<TextBlock Text="{Binding Text}" Margin="20" FontSize="16" MaxWidth="500"
							TextWrapping="Wrap" />
				</DockPanel>
			</Border>
		</Grid>
	</Grid>

</UserControl>
